package com.itheima.finaldemo;
/*
被final 修饰的方法 不能被子类所重写
 */
public class Test02 {
    public static void main(String[] args) {
        Zi zi = new Zi();
        zi.sing();

    }
}
class Fu{
  /*  final int i;

    public Fu(int i) {
        this.i = i;
    }
*/
    public final void sing(){
        //System.out.println(i);
        System.out.println("fu...sing");
    }


}
class Zi extends Fu{


}
